package com.ruoyi.order.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.shopping.domain.MallOrder;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author chengliang
 * @date 2022/6/29
 **/
@Data
public class OrderDo {
    private Long id;
    private String orderId;
    private Long goodsId;
    private String storeName;
    private String goodsName;
    private Long pbId;
    private Long commentId;
    private Long memberId;
    private String commentState;
    private BigDecimal totalPrice;
    private String mainImg;
    private BigDecimal payPrice;
    private String payState;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lastUseTime;
    private BigDecimal dPrice;
    private String orderState;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    private String aftersaleState;
    private String shipState;
    private String type;//区分商品订单or团购订单
    private List<MallOrder> mallOrder;
    private String verifyCodeImg;
    private String refundStatus;

    private String oOrderState;
    private String MOrderState;

    private Long writeOffNum;

    private String orderType;

    public String getOrderType() {
        return orderType;
    }
    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public Long getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Long goodsId) {
        this.goodsId = goodsId;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public Long getPbId() {
        return pbId;
    }

    public void setPbId(Long pbId) {
        this.pbId = pbId;
    }

    public Long getCommentId() {
        return commentId;
    }

    public void setCommentId(Long commentId) {
        this.commentId = commentId;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public String getCommentState() {
        return commentState;
    }

    public void setCommentState(String commentState) {
        this.commentState = commentState;
    }

    public BigDecimal getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(BigDecimal totalPrice) {
        this.totalPrice = totalPrice;
    }

    public String getMainImg() {
        return mainImg;
    }

    public void setMainImg(String mainImg) {
        this.mainImg = mainImg;
    }

    public BigDecimal getPayPrice() {
        return payPrice;
    }

    public void setPayPrice(BigDecimal payPrice) {
        this.payPrice = payPrice;
    }

    public String getPayState() {
        return payState;
    }

    public void setPayState(String payState) {
        this.payState = payState;
    }

    public Date getLastUseTime() {
        return lastUseTime;
    }

    public void setLastUseTime(Date lastUseTime) {
        this.lastUseTime = lastUseTime;
    }

    public BigDecimal getdPrice() {
        return dPrice;
    }

    public void setdPrice(BigDecimal dPrice) {
        this.dPrice = dPrice;
    }

    public String getOrderState() {
        return orderState;
    }

    public void setOrderState(String orderState) {
        this.orderState = orderState;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getAftersaleState() {
        return aftersaleState;
    }

    public void setAftersaleState(String aftersaleState) {
        this.aftersaleState = aftersaleState;
    }

    public String getShipState() {
        return shipState;
    }

    public void setShipState(String shipState) {
        this.shipState = shipState;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public List<MallOrder> getMallOrder() {
        return mallOrder;
    }

    public void setMallOrder(List<MallOrder> mallOrder) {
        this.mallOrder = mallOrder;
    }

    public String getVerifyCodeImg() {
        return verifyCodeImg;
    }

    public void setVerifyCodeImg(String verifyCodeImg) {
        this.verifyCodeImg = verifyCodeImg;
    }

    public Long getWriteOffNum() {
        return writeOffNum;
    }

    public void setWriteOffNum(Long writeOffNum) {
        this.writeOffNum = writeOffNum;
    }
}
